<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //延时函数版本1
        setTimeout(()=>{
            console.log(1)
            setTimeout(()=>{
                console.log(2)
                setTimeout(()=>{
                    console.log(3)
                    console.log("Over") 
                },1000)
            },1000)
        },2000)
    </script>
</body> 

</html>